/*
 * EntityKey.java
 * 
 * Versao: 1.0.0
 *
 * Data: 04/04/2011
 *
 * Copyright (C) 2011
 * wsh-systems.
 * Todos os direitos reservados.
 */
package com.wsh.playeronline.persistence.model;

import java.io.Serializable;

/**
 * Abstract key class for Entity.
 * 
 * @author Washington
 * @version 1.0, 04/04/2011
 */
public abstract class EntityKey implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long codigo;

	public EntityKey(Long codigo) {
		super();
		this.codigo = codigo;
	}

	/**
	 * Get to codigo.
	 * 
	 * @return codigo
	 */
	public Long getCodigo() {
		return codigo;
	}

	/**
	 * Set to codigo.
	 * 
	 * @param codigo to set codigo
	 */
	public void setCodigo(Long codigo) {
		this.codigo = codigo;
	}	
	
}